package com.itrencai.d3_polymorphic;

public class Tortoise extends Animal{
    @Override
    public void run() {
        System.out.println("乌龟根本跑不快~~~");
    }
    //独有方法
    public void layEggs(){
        System.out.println("乌龟在下蛋~~~");
    }
}
